package cn.iocoder.yudao.module.reservation.controller.admin.member.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会员分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberPageReqVO extends PageParam {

    @Schema(description = "会员编号")
    private String code;

    @Schema(description = "用户名", example = "李四")
    private String userName;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "昵称", example = "芋艿")
    private String nickName;

    @Schema(description = "性别")
    private Integer gender;

    @Schema(description = "出生日期")
    private LocalDateTime birthday;

    @Schema(description = "身份证号")
    private String idNumber;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "电子邮箱")
    private String email;

    @Schema(description = "注册时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] registerDate;

    @Schema(description = "状态", example = "1")
    private Integer status;

}